<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<LINK rel="stylesheet" type="text/css"
	href="<c:url value="/design.css"/>">
	<link rel="icon" type="image/png" href="<c:url value="/pics/design/favicon.ico"/>" />
<title>Nerd Shop</title>
</head>

<jsp:include page="/header.jsp" />
<body>
	<div id="homepagearticles">
		<h4>Articles en vedette sur notre site</h4>
		<c:forEach var="article" items="${affichage.articles}">
			<div class="article_mini">
				<div class="article_mini_pic">
					<a
						href="<c:url value="/article"/>?id=<c:out value="${article.id}"/>"><img
						src="<c:url value="/pics/articles/"/>pic<c:out value="${article.id}"/>.jpg"
						alt="photo de <c:out value="${article.nom}"/>" /></a>
				</div>
				<div class="article_mini_text">
					<a
						href="<c:url value="/article"/>?id=<c:out value="${article.id}"/>">
						<c:out value="${article.nom}" /> <br> <span><c:out
								value="${article.prix}" />&euro;</span>
					</a>
				</div>
			</div>
		</c:forEach>
	</div>
</body>
<jsp:include page="/footer.jsp" />

</html>